package com.tuo51.childcare.domain.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PTestItemOptionVO implements Serializable {
    private String image;
    private String choice;
    private boolean answer;

    public static PTestItemOptionVO of(String image, String choice, boolean answer){
        PTestItemOptionVO ret = new PTestItemOptionVO();

        ret.setImage(image);
        ret.setChoice(choice);
        ret.setAnswer(answer);

        return ret;
    }
}
